﻿function searchCheck() {
    var value = $.trim($('input[name=keyword]').val());
    if (value.length > 0 && value != resources.homepage.searchText)
        return true;
    alert(resources.homepage.searchText);
    return false;
};
function switchTab(a, b, c, d, e) { try { for (i = 0; i < c; i++) { var f = document.getElementById("Tab_" + a + "_" + i), g = document.getElementById("List_" + a + "_" + i); if (i != b) { f.className = e; g.style.display = "none" } } try { for (ind = 0; ind < CachePic[a][b].length; ind++) document.getElementById(a + "_pic_" + b + "_" + ind).src = CachePic[a][b][ind] } catch (h) { } document.getElementById("Tab_" + a + "_" + b).className = d; document.getElementById("List_" + a + "_" + b).style.display = "" } catch (j) { } }